﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyCommon;

namespace DataAccessLayer.DataInterfaces
{
    public interface IKhachHang
    {
        IEnumerable<KhachHang> GetAllKhachHang();
        KhachHang GetKhachHangById(int Id);
        KhachHang GetLastRecord();
        bool UpdateKhachHang(KhachHang khachHang);
        bool InsertKhachHang(KhachHang khachHang);
        ReturnValue<bool> DelKhachHang(int Id);
        ReturnValue<bool> DelKhachHang(KhachHang khachHang);
        IEnumerable<KhachHang> GetDsKhachHangWithFilter(string inMaKH = "", string inTenKhachHang = "");
    }
}
